import request from '@/utils/request'

//上传文件
export function uploadFile(data) {
  return request({
    url: process.env.VUE_APP_HOST_API == '' ? process.env.VUE_APP_BASE_API + "/common/upload" : process.env.VUE_APP_HOST_API + "/common/upload",
    method: 'post',
    data: data
  })
}
